	KindEditor.ready(function(K) {
			var editor = K.create('textarea[name="info"]', {
				cssPath : 'kindeditor-4.1.10/plugins/code/prettify.css',
				uploadJson : 'kindeditor-4.1.10/jsp/upload_json.jsp',
				fileManagerJson : 'kindeditor-4.1.10/jsp/file_manager_json.jsp',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						document.forms['fm'].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						document.forms['fm'].submit();
					});
				},
				afterBlur: function(){this.sync();}
				
			});
			var editor1 = K.editor({
				cssPath : 'kindeditor-4.1.10/plugins/code/prettify.css',
				uploadJson : 'kindeditor-4.1.10/jsp/upload_json.jsp',
				fileManagerJson : 'kindeditor-4.1.10/jsp/file_manager_json.jsp',
				allowFileManager : true,
			});

			K('#insertfile').click(
					function() {
						editor1.loadPlugin('image', function() {
							editor1.plugin.imageDialog({
								showRemote : false,
								imageUrl : K('#imgurl').val(),
								clickFn : function(url, title, width, height,
										border, align) {
									K('#imgurl').val(url);
									editor1.hideDialog();
								}
							});
						});

					});
		});
		